package com.lecyon.farm.base;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author YaoZheng
 */
@Data
public class BaseVo implements Serializable {

    @TableField(exist = false)
    @ApiModelProperty(name = "userToken", value = "用户令牌", required = true)
    @NotBlank(message = "权限认证失败，令牌不能为空")
    protected String userToken;

}
